//
//  ViewController.m
//  D3J
//
//  Created by doductrung on 6/17/13.
//  Copyright (c) 2013 doductrung. All rights reserved.
//

#import "ViewController.h"
#import "Line.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    NSMutableArray *points = [[NSMutableArray alloc] initWithObjects:@50, @100, @70, @300, nil];
    Line *line = [[Line alloc] initWithPoints:points];
    [self.view addSubview:line];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
